package cn.itcast.hotel.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description:
 * @Version: V1.0
 */
@ConfigurationProperties(prefix = "es")
@Data
public class EsProperties {

    private String host="localhost";
    private Integer port=9200;

}
